package cn.com.dcsgo.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 发送手机短信配置属性
 * <a href="https://dypns.console.aliyun.com/smsServiceOverview">配置参考文档</a>
 *
 * @author Dcsgo
 * @since 2025/11/11 13:08
 */
@Data
@Component
@RefreshScope
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "aliyun.sms")
public class ShortMessageProperties {
    private String accessKeyId;
    private String accessKeySecret;
}
